package sip

import (
	"fmt"
	"time"
)

type Device struct {
	DeviceID  string
	Host      string
	Port      uint
	RegisterAt time.Time
	CatalogAt  time.Time
	SubscribeAt time.Time
	Transport   *Transport `structs:"-" json:"-"`
}

func (dev *Device) String() string {
	return fmt.Sprintf("Device[%s] host[%s] port[%d]", dev.DeviceID, dev.Host, dev.Port)
}
